from selenium.webdriver.common.by import By

from wewrok_app_po.Base.wework_app import WeWorkApp
from wewrok_app_po.Page.edit_member import EditMember


class PersonInfoNew(WeWorkApp):
    _MEMBER = By.XPATH, "//*[@text='编辑成员']"
    def goto_edit_member(self):
        # 点击编辑成员
        self.find_and_click(*self._MEMBER)
        return EditMember(self.driver)

